%ul
  = nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
    = link_to profile_path, title: "简介" do
      %i.icon-home
  = nav_link(path: 'profiles#account') do
    = link_to "账户", account_profile_path
  = nav_link(controller: :notifications) do
    = link_to "通知", profile_notifications_path
  = nav_link(controller: :keys) do
    = link_to profile_keys_path do
      SSH Keys
      %span.count= current_user.keys.count
  = nav_link(path: 'profiles#design') do
    = link_to "设计", design_profile_path
  = nav_link(controller: :groups) do
    = link_to "用户组", profile_groups_path
  = nav_link(path: 'profiles#history') do
    = link_to "历史", history_profile_path

